System and method for interface display screen manipulation

ABSTRACT

A computer-implemented method for providing a user tip during a running of an application is provided. The method includes: determining, by a computer processor, whether a user interface display screen displayed or to be displayed during the running of the application is similar to a screen template with which a tip object is associated; and responsive to a positive result of the determination, outputting, by the processor, an element defined by the tip object during the running of the application. The screen template to which the user interface display screen is determined to be similar to is also determined to be similar to other different user interface display screens.

CROSS-REFERENCE TO RELATED APPLICATIONS

The present application is a continuation of U.S. patent application Ser. No. 15/065,012, filed Mar. 9, 2016, which is a continuation of U.S. patent application Ser. No. 13/834,459, filed Mar. 15, 2013, the contents of each are incorporated herein by reference in their entireties.

FIELD OF THE INVENTION

The present invention relates to a system and method for software prototyping, software tutorial development, and/or development and/or reproduction of electronic performance support system (EPSS) objects.

BACKGROUND

Development of computer software, especially complex software, requires collaboration of designers and programmers. Once a program version is developed, further modification of the program is often required. In particular, modification of a generic software application is often required to tailor the program to the needs of a particular entity. Where software, such as Enterprise Resource Planning (ERP) software, is developed for large entities, a number of groups, each including a large number of people, and assigned different tasks often collaborates to create the software. For example, the designers may include a business model design team, software design team, and programmers. The business model design team creates business model designs, for which the software designers create software specifications for modeling a software process satisfying the identified business needs, which software specifications the programmers use to code programs satisfying the software specifications. Further, different sub-groups may be assigned to different aspects of business model and software specification development, which are then to be consolidated to create the software specifications to be passed on to the programmers who program the software according to the specifications. The programmers, too, may be assigned to the coding of different software parts to be used in concert.

The specifications for software development are therefore often disorganized. Additionally, the specifications are often based on the software designers' mental conceptualizations of the software modifications. Actual modifications may therefore be different than expected by the software designers, requiring another iteration of specifications development and software modification.

Additionally, the software coding for implementation of the specification often falls short of the specifications provided to the programmers. Testing is therefore required to ensure that the programmed software application matches the specifications. This includes a potentially lengthy task of manual testing by domain experts to ensure that the programmed software complies with the expected application behavior as defined by the specifications.

The procedure is prone to error, with respect to the software designers' understanding of the business model designers' requirements, the software designers' conceptualization of the application behavior according to their specifications, the programmers' understanding of the expected application behavior as set forth in the specifications, and the testing of the coded software.

The software development procedure may therefore require numerous iterations and cost an enormous amount, with respect to both time and money.

Furthermore, for implementation of software, users are trained in their use. Such training often requires simulations of an actual use of the software. However, a simulation may become outdated in view of software modifications implemented subsequent to creation of the simulation. Modifications of the simulation are therefore required, which modifications require determination of how the modifications affect the simulation, or to create an entirely new software simulation. Additionally, captured screenshots often include data having been input in the target application whose display screens have been captured, which data may be private. There may therefore be a desire to change out data displayed in fields for the training display screens, which would require entering such a change to the captured display screens including private data. Moreover, while captured data text or user interface type text is in one language, there may be a desire to store versions of training display screens in other languages, requiring the modification of the display screens to create respective versions thereof in other languages.

U.S. patent application Ser. No. 11/430,482, filed May 8, 2006, which issued as U.S. Pat. No. 8,087,007 (“the '007 patent”), and which is incorporated by reference herein in its entirety, describes a system and method for increasing efficiency of software and training simulation development and modification.

Aside from a core program, software administrators and/or user with sufficient permission can create EPSS objects, which can include user help tips, warnings, and/or program behavior modifications, which objects can be respectively associated with various parts of an application, including, for example, graphical parts, such as graphical user interface (GUI) controls.

SUMMARY

However, often a user interface program is programmed to output a multitude of different graphical user interface display screens at various points of program execution. Modification of the program or simulation thereof therefore requires separately revising each of the screens of the program or simulation, which can be extremely tedious and time-consuming, particularly for elaborate programs including potentially thousands of display screens. Similarly, provision of EPSS objects in association with display screens requires generation of a multitude of EPSS objects for the different screens, which, likewise, can be extremely tedious and time-consuming. Further, an EPSS object that had been associated with a GUI control of a display screen may lose its associations with the display screen and control (context) if a change made in such display screen includes a change to the context as detected with respect to the screen prior to the change.

Accordingly, embodiments of the present invention provide a system and method that increases efficiency of development and modification of program display screens, simulations of programs including display screens, and/or EPSS objects associated with program display screens.

According to example embodiments of the present invention, for each of a plurality of groups of a respective plurality of similar display screens, a system and method store, manipulate, and/or interpret the respective plurality of similar display screens of the group as a combination of a single display screen template and a plurality of instances of the display screen template.

According to example embodiments of the present invention, for each of those of the plurality of similar display screens of the group that are not exact replicas of the display screen template, the system and method further maintains a respective modification script to be executed by a processor of the system on a respective instance of the display screen template, according to which execution, the processor modifies the instance to include the required variation(s) by which the display screen differs from the display screen template. Such variations can include user interface variations and/or data variations, e.g., adding data text to a field.

According to example embodiments of the present invention, the system and method store, manipulate, and/or interpret a display screen as a set of display screen elements. According to an example embodiment, the screen elements include a plurality of sub-screens. According to an example embodiment, the system and method perform operations at the sub-screen level. According to an example embodiment, the system and method store and manipulate the screen elements according to the described screen template and instance paradigm. For example, in an example embodiment, the system and method store a first display screen as a first collection of pointers to sub-screen templates (and/or modification scripts, e.g., in an instance where changes to the template, e.g., with respect to user interface and/or text objects, are to be made to recreate the target display screen) and store a second display screen as a second collection of pointers to sub-screen templates (and/or modification scripts). The sub-screen templates (and/or modification scripts) to which the first and second collections point can all be the same or different, or can include some which are the same for the two collections and some which differ between the two collections.

According to an example embodiment of the present invention, the system and method store and/or manipulate the screen elements according to a hierarchy. For example, according to an example embodiment, the system and method relate a parent screen template or sub-screen template to a plurality of child sub-screen templates, and store for a display screen a single pointer to the parent screen template which is instantiated for the display screen by instantiating the child sub-screen templates to which the parent screen template points. According to an example embodiment of the present invention, a single parent screen template can be both a leaf node and a parent node in the hierarchy. For example, a parent screen template can include its own display properties by virtue of which it can be considered a leaf node and further include pointers to child sub-screen templates to be instantiated for display in the display object displayed according to the display properties of the parent screen template, by virtue of which pointers it can be considered a parent node.

According to an example embodiment of the present invention, the system and method are configured for a user, e.g., a developer, administrator, or author, to modify a screen (or sub-screen) template, thereby effecting the change in all display screens maintained by the system and method using pointers for instantiation of the screen (or sub-screen) template.

According to an example embodiment of the present invention, the system and method are configured for a user, e.g., a developer, administrator, or author, to update an EPSS object associated with a screen or sub-screen template, thereby effecting the update for all display screens which the system and method determine are similar (according to a matching algorithm) to the screen and/or sub-screen with which the EPSS object is associated (as long as any further specified conditions are met).

For example, during the running of a target application, the system and method analyzes a display screen that is displayed or is about to be displayed to determine its sub-screen makeup. Each of the sub-screens is compared by a loose matcher to the template with which the EPSS object is associated. For example, according to an example embodiment, the system and method create a signature for each of the sub-screens of the running application based on its contents, e.g., user interface elements, and compare the signature to a signature of the template to determine if there is a match. As explained below, it is not necessarily required for there to be exact replication to determine the screen to be match. If a match is determined, then as long as other context conditions specified for the output of the EPSS object are met, the system and method outputs the EPSS object.

According to an example embodiment of the present invention, the system and method captures a program interaction as a re-playable simulation, for example, as described in the '007 patent, and further captures elements which the system and method categorizes, e.g., as user interface object, user interface text, data text, etc., for example, as described in U.S. patent application Ser. No. 13/419,170, filed Mar. 13, 2012 (“the '170 application”). According to an example embodiment, the system and method stores the captured elements of a display screen as a display screen template and/or as a pointer to a previously stored display screen template, and, if similar to but not an exact replica of a display screen of the previously stored display screen template, a modification script.

According to an example embodiment, the system and method strip all data text from a structure stored as a template. Accordingly, for any captured display screen which the system and method determine includes data text, even if a matching, e.g., similar, template is not found, so that the captured display screen is used to store a new template, the data text is stripped from the screen data for generation of the template, and the instantiation data structure pointing to the template and used for the captured display screen is provided with a modification script that, when executed on the template, adds back the stripped data text (or other modified text in an instance where a user modifies the modification script in an editing environment). The stripping of the data text improves the matching step because data text in most instances is not relevant for determining whether two screens are the same. That is, it is advantageous for the system and method to recognize as a match two screens that are essentially the same but differ with respect to data text.

According to an example embodiment, GUI type text, such as a control label, is not stripped out for use of such text as a consideration in the matching step.

According to an alternative example embodiment, even GUI type text is stripped for a looser type of matching.

For example, in an example embodiment, the system and method captures a screen and determines whether the screen is similar to that of a stored display screen template. If the system and method determine that the newly captured screen is not similar to that of a previously stored display screen template, the system and method stores the newly captured screen as a new display screen template. On the other hand, if the system and method determine that the newly captured screen is similar to that of a previously stored display screen template, the system and method stores the newly captured screen as a data structure including a pointer to the previously stored display screen template to whose display screen the system and method have determined the newly captured display screen is similar. To the extent the newly captured display screen is not identical to that of the previously stored display screen template, the system and method further include in the data structure a modification script to be run on the template for its modification to obtain the captured screen shot. For example, such modification can include insertion or deletion of objects, resizing of object, modifying another graphical or other characteristic of the object, and/or removal or addition of data text and/or user interface text. For example, according to the example embodiment in which, for example, all data text is removed from the templates, the modification script would provide for inserting data text for any display screen that is to include data text.

According to an example embodiment of the present invention, the comparison and storage steps can be performed on a sub-screen by sub-screen basis. For example, in an example embodiment, upon capture of a display screen, the system and method processes the captured screen into a plurality of sub-screens, for each of which the system and method perform the described comparison step. For each of the sub-screens for which the system and method determines there is a previously stored display (sub)screen template, the system and method stores for the newly captured display screen a pointer thereto (and/or a modification script), and for each of the sub-screens for which the system and method do not determine there to be a previously stored (sub)screen template, the system and method store the newly captured sub-screen (stripped of its data text according to an example embodiment) as a new display (sub)screen template.

According to an example embodiment, the system and method store a newly captured screen as a data structure including one or more pointers to display screen templates (which may include sub-screen templates). If the newly captured display screen includes a sub-screen for which the system and method do not determine there to be a previously stored template, the system and method store the newly captured sub-screen as a new display screen template, and store a pointer thereto in the data structure corresponding to the newly captured display screen.

As described above, according to an example embodiment of the present invention, the display screen templates are stored according to a hierarchical arrangement. According to that embodiment, in an example embodiment, the system and method determines whether the captured screen as a whole is sufficiently similar (which similarity is programmatically defined) to a stored display screen template as a whole. If the captured screen is determined to be sufficiently similar, the system and method store a data structure for the captured display screen which includes a pointer to the display screen template to whose display screen the system and method have determined the newly captured display screen to be similar (and, if not identical, a modification script). The display screen template can itself include pointers to further display screen templates for sub-screens. The data structure for the newly captured screen need not include pointers to the display screen templates of the sub-screens. Rather, according to an example embodiment, the data structure includes a pointer to the single parent display screen template, thereby indirectly pointing to the display screen templates of the sub-screens.

According to an example embodiment, if the system and method determine that a newly captured display screen includes sub-screens similar to previously stored display screen templates, but includes other sub-screens that are not similar to that of any of the previously displayed display screen template, the system and method store those captured sub-screens for which no matching templates are found as new display screen templates, and, for those sub-screens for which the system and method find a matching display screen template(s), store in the data structure pointers to the matching template(s). As noted above, a single template can be used for multiple sub-screens, the single template itself pointing to other display screen templates corresponding to the individual sub-screens.

According to an example embodiment, even for a newly captured display screen for all whose sub-screens the system and method do not find matching templates, the system and method store one or more display screen templates corresponding to the display screen and its sub-screens, and store for the captured display screen a data structure including pointers to the stored one or more display screen templates created based on the captured display screen.

According to an example embodiment, the hierarchy can include more than two levels. For example, a display screen template can point to other display screen templates which can themselves in turn point to other display screen templates, until a leaf node display screen template is reached which includes the object properties.

According to an example embodiment, after capture of the display screens and the storage of the data structures representing the captured screens, the system and method is configured to play back a simulation of captured application operation using the stored data structures to recreate the display screens as they were initially captured.

According to an example embodiment, the playback of one or several display screens recreated automatically based on instantiations of templates and/or executions of modification scripts includes displaying the same base screens as captured from the original application, but with new data text, for example, if the modification script is changed to cause insertion of data text different than that captured. Therefore, for example, a screen captured with a grid control containing 2 lines and 5 columns, can be played back with new data including I 00 lines and IO columns, the rest of the screen otherwise being identical to that which was initially captured.

According to an example embodiment, should the base program being simulated change with respect to a display screen or portion of a display screen defined or recognized asa sub-screen, a user can modify the relevant display screen template (which can be a sub-screen template). By the change to the template, all previously captured simulations which the system and method recognized include the same or similar display screen or sub-screen are automatically updated since their data structures point to the modified template.

For example, according to an example embodiment, the system and method provides an editing environment including a list of selectable display screen templates which can be user-selected, in response to which the system and method displays the respective template's properties, which the user can modify.

According to an example embodiment, besides for or instead of the described editing environment, the system and method provides for an automatic modification of a template. For example, according to an example embodiment, the system and method enable a user to select, in an editing environment, a stored template for modification, and instruct the system to capture a new display screen for generation based thereon of a new display screen template to replace the selected template.

In a software design environment, a software designer can modify a simulation to create a new software design as a new software specification as described in the '007 patent. For a change to be made in a screen or sub-screen that occurs in a large number instances, according to an example embodiment of the present invention, the designer need not make the change directly to all of the instances of the screen or sub-screen, but rather, using the methods described above, can input the change to a screen or sub-screen template, thereby effecting the change for all display screens instantiating the modified template.

According to an example embodiment of the present invention, in an EPSS authoring environment, according to example embodiments using methods described above, for associating an EPSS object with a plurality of display screen instances, an author can define a context to be used by the system as a condition for outputting the EPSS object. For example, the author can associate an EPSS object with one or more GUI controls of a display screen and/or one or more data entries associated with such controls, e.g., a value range for data entered into a field. For example, an author can define that an EPSS object is to be output if a user enters a value of 1-500 in a particular field of a purchase order form, which value represents an order number and the range of 1-500 indicates that an old purchase order, perhaps bound by different constraints than newer purchase orders, is being referenced.

In an EPSS authoring environment, according to example embodiments using methods described above, for associating an EPSS object with a plurality of instances in which a display screen is provided and/or modifying an object to be provided with respect toa plurality of instances in which a display screen is provided, an author can associate an EPSS object with a display screen template or sub-screen template, thereby effecting association of the EPSS object with all cases in which the display screen of the running target application is considered to include a match of the display screen template or sub-screen template (as long as all author-specified conditions, if any, are met), or can modify an EPSS object associated with a display screen template or sub-screen template, thereby effecting the change of the EPSS object for all instances in which the display screen of the running target application is considered to include a match of the display screen template or sub-screen template (as long as all author-specified conditions, if any, are met).

For example, according to an example embodiment of the present invention, a system and method store a plurality of display screen templates and sub-screen templates. The system and method provide an EPSS authoring environment, in which a user can author an EPSS object and associate the object with one or more of the defined templates. In an example embodiment, the author can also, using the authoring environment, define conditions for activation of the object for the associated the screen or sub-screen templates. Thereafter, during running of the application, the system and method execute matching steps to determine whether any of the screen or sub-screen templates with which an EPSS object has been associated is matched by the displayed screen of the running target application, and, if so, activate the authored EPSS object as long as conditions defined by the author, if any, are satisfied.

The templates can be defined either manually or can be automatically generated by running the target application through an analysis application for analyzing screens and/or sub-screens for similarity as described above.

An example embodiment of the present invention is directed to one or more processors, which can be implemented using any conventional processing circuit and device or combination thereof, e.g., a Central Processing Unit (CPU) of a Personal Computer (PC) or other workstation processor, to execute code provided, e.g., on a hardware computer-readable medium including any conventional memory device, to perform any of the methods described herein, alone or in combination, and to generate any of the user interface displays described herein, alone or in combination. The one or more processors can be embodied in a server or user terminal or combination thereof. The user terminal can be embodied, for example, as a desktop, laptop, hand-held device, Personal Digital Assistant (PDA), television set-top Internet appliance, mobile telephone, smart phone, etc., or as a combination of one or more thereof. Additionally, some of the described methods can be performed by a processor on one device or terminal and using a first memory, while other methods can be performed by a processor on another device and using, for example, a different memory.

The memory device can include any conventional permanent and/or temporary memory circuits or combination thereof, a non-exhaustive list of which includes Random Access Memory (RAM), Read Only Memory (ROM), Compact Disks (CD), Digital Versatile Disk (DVD), and magnetic tape.

An example embodiment of the present invention is directed to one or more hardware computer-readable media, e.g., as described above, on which are stored instructions executable by a processor to perform the methods and/or provide the user interface features described herein.

An example embodiment of the present invention is directed to a method, e.g., of a hardware component or machine, of transmitting instructions executable by a processor to perform the methods and/or provide the user interface features described herein.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a flowchart that illustrates a method for creating an application simulation, according to an example embodiment of the present invention.

FIG. 2 is a flowchart that illustrates a method for playing a simulation, according to an example embodiment of the present invention.

FIG. 3 is a flowchart showing a lifecycle of display screens according to an example embodiment of the present invention.

FIG. 4 shows a data flow for processing captured display screens, according to an example embodiment of the present invention.

FIG. 5 shows a data flow for processing a display screen in an EPSS environment, according to an example embodiment of the present invention.

FIGS. 6-8 show screenshots of an editing environment in which screen templates are editable, according to an example embodiment of the present invention.

DETAILED DESCRIPTION

FIG. 1 is a flowchart showing an example method for generating a clone of a target application or portions thereof and converting the clone data according to a template and instantiation paradigm, by which modification of multiple display screens can be implemented via modification of a single display screen template. Although FIG. 1 illustrates the method as an integration of clone data capture steps and conversion steps for converting the captured data into the described display screen templates and template instantiation data, according to alternative example embodiments, those steps are divided into separate processes. For example, during a first process a processor executes a cloning algorithm to capture the cloning data and during a subsequent process the cloning data is processed by the processor by executing a conversion algorithm.

Additionally, while FIG. 1 shows steps for defining sub-screens of a captured display screen in addition to the steps for converting the captured data into templates and instantiation data, according to an alternative example embodiment, the conversion is performed on display screens as a whole without dividing screens into sub-screens. However, the division of a display screen into sub-screens increases efficiency.

Moreover, while FIG. 1 shows some steps of the cloning process, example embodiments of the cloning process include additional steps. For example, the '007 patent describes steps of capturing events, such as user interactions with user interface display screens, which are not further described herein because its description is not required for an understanding of the inventions described herein.

According to an example embodiment of the present invention, a cloning process includes obtaining, at step 100, a trigger event, such as that described in the '007 patent, triggering the processor to capture a user interface display screen. At step 102, the processor obtains user interface objects from the target application corresponding to the display screen displayed when the trigger event occurred, for example, as described in the '007 patent and/or in the '170 application.

At step 104, the processor determines a hierarchy of the obtained user interface objects using a suitably appropriate object hierarchy analysis algorithm. At step 106, the processor analyzes the object hierarchy to define sub-screens of the captured screen, as described in further detail below.

For each of the defined sub-screens, at step 108, the processor determines whether the sub-screen is sufficiently similar to a previously stored template to be considered a match, strict replication not being required to be considered a match. Example processes for determining whether sub-screens are matches are described in further detail below.

If a match is found, then, at step 118, the processor stores in a data structure corresponding to the captured display screen a pointer to the matching template. Additionally, if the captured display screen is not an exact replica of the matching template (step 114), the processor, at step 116, generates and, at step 118, stores in the data structure a modification script which defines steps to be executed for modification of the matching template to re-obtain the captured display screen.

If, at step 108, a match is not found, then, at step 110, the processor stores the captured data defining the captured sub-screen as a new display screen template, and further stores a data structure a pointer thereto, at step 118. Since the captured sub-screen itself is being stored as the template, a modification script is not necessary. The template and instantiation data generation steps are repeated at step 120 for all of the captured sub-screens.

Once the capturing session is ended at step 122, the captured template and instantiation data, including any modification scripts, and possibly further simulation script data which can define transitions between captured display screens and events, can be stored as a simulation of the target application.

FIG. 2 is a flowchart that illustrates an example method for executing a stored simulation. The illustrated steps include processing of sub-screen templates. However, as noted above, according to an alternative example embodiment, the simulation data is not divided into sub-screen data.

According to an example embodiment, at step 200, a processor obtains a simulation script for a simulation selected for playback. The simulation can include display of one or more display screens. For each display screen, the processor, at step 202 obtains a display screen data structure which includes data for one or more sub-screens. For each of the sub-screens, the processor, at step 204, obtains from memory and instantiates a display screen template referenced by the data structure. Templates are obtained until, at 206, the final referenced template has been obtained.

At step 208, if the data structure includes one or more modification scripts, the processor executes the one or more modification scripts for modifying one or more of the instantiated templates. It can occur that a data structure corresponding to a display screen to be simulated does not include a modification script, in which case step 208 is skipped. Although the execution of the modification scripts at step 208 is shown to be performed after all of the sub-screen templates of the display screen to be simulated have been obtained, according to an alternative example embodiment, a modification script for one sub-screen can be executed before or simultaneous to obtaining another of the sub-screen templates.

At step 210, the processor displays the display screen generated by the instantiation of the templates as modified by execution of modification scripts, if any. At step 212, the processor continues to perform the described steps for additional display screens to be simulated in a sequence defined in the simulation script, if more than one display screen is defined therein, until the final display screen of the simulation script is displayed.

FIG. 3 shows an example possible life cycle of a simulation facilitated by features of an example embodiment of the present invention. At step 300, a processor captures display screens, for example, as described with respect to FIG. 1. At step 302, the processor stores screen templates and, in instantiation data structures, pointers to the templates, for example, as described with respect to FIG. 1. At step 304, a system user, e.g., a software designer modifies one (or more) of the templates. At step 306, a simulation script is executed, for example, as described with respect to FIG. 2, the simulation script including one or more instantiation data structures with one or more pointers to the modified template, thereby outputting a simulation in which all of the display screens of the instantiation data structures of the simulation that point to the modified template are accordingly modified as compared to the display screen(s) captured at step 300 for generation of the simulation script.

According to an example embodiment, the modification at step 304 is performed by the processor receiving user input in an editing environment, the user input including selection of a screen, sub-screen, or object, and manual input of modified properties of the selected element, for example, in a property editing frame, such as frames 610, 710, and 810 shown in FIGS. 6-8. Additionally, or according to an alternative example embodiment, the system and method provides for input selecting a screen with an instruction (e.g., a new trigger event as described with respect to step 100 of FIG. 1) to perform a new capture of a display screen, the processor accordingly capturing the display screen of the target application displayed at the time of the trigger event and replacing the template for the selected screen with a new template based on the newly captured screen. Alternatively, selection by the user of the screen is omitted. Instead, the user inputs a capture instruction in an editing environment as a replacement instruction, and the system responsively captures a screen, parses the screen into sub-screens (according to the embodiments supporting such parsing), matches the sub-screens (or screen) as described with respect to step 108 of FIG. 1, and, for any of the sub-screens (or screen) for which a match is found, replaces the previously stored matching sub-screen (or screen) with a new template based on the newly captured sub-screen (or screen).

FIG. 4 is a diagram that illustrates a data flow according to an example embodiment of the present invention. In an example embodiment, display screens 400 of a target application are input to an analysis engine, which converts the display screens into a collection of display screen templates 404 and instantiation data structures 406 processed to output copies of the display screens 400. The instantiation data structures 406 include pointers 408 which point to respective ones of the templates 404, and further include modification scripts 410 for any of the screens whose properties are different than the referenced templates 404. According to an example embodiment, a single one of the instantiation data structures 406 corresponding to a single display screen 400 can include more than one pointer 408, each pointer referencing a respective sub-screen template 404, for, in combination, regenerating the display screen 400. A non-exhaustive list of example modifications performable to an instantiated template 404 by execution of a modification script 406 includes insertion of a user interface object, removal of a user interface object, insertion of text, deletion of text, resizing of an object, recoloring an object, etc.

FIG. 6 is an example screenshot 600 of an example editing environment in which a user can edit sub-screens according to an example embodiment of the present invention. According to an example embodiment, the editing environment includes a user-interactive display in which a display screen is displayed, which displayed display screen includes a plurality of selectable screen objects. The editing environment, according to an example embodiment, includes a property editing frame, e.g., frame 610 in FIG. 6, in which the user can enter and/or modify properties of a selected object of a display screen and/or properties of a display screen or sub-screen selected as a whole. Such a modification is reflected in a stored screen or sub-screen template and accordingly is propagated to all display screens that are generated by instantiations of the modified template.

For example, according to an example embodiment in which the system and method parses a display screen into a plurality of sub-screens, a change to a sub-screen template, such change including, for example, an object insertion, an object deletion, an object modification, and/or a form characteristic modification, e.g., a modification of a background color, a size, and/or a position, is propagated to all display screens formed by instantiations of the changed sub-screen.

For example, the screenshot of FIG. 6 shows an editable version of a display screen including a plurality of sub-screens. Two of the sub-screens, sub-screen 604 and sub-screen 602 have been demarcated in FIG. 6. Sub-screen 602 includes a tool bar which can be presented in many display screens whose other sub-screens can greatly vary between the different ones of the many display screens. Similarly, sub-screen 604 includes an order sub-screen which can be included in many different display screens. According to an example embodiment, the system and method parses a display screen of an application into sub-screens, stores templates of those sub-screens and instantiation data structures pointing to the templates, and provides an editing environment, for example, such as the one shown in FIG. 6 in which a user can select the sub-screens or objects therein for modification of the sub-screen templates, thereby propagating the modification to all of the instantiation data structures referencing the modified template. For example, should the user modify a property of the tool bar sub-screen 602 or of an object therein, according to an example embodiment, such change is made to the tool bar sub-screen 602 template and thereby propagated to all display screens generated based on instantiation data structures that reference the tool bar sub-screen 602 template.

For example, FIG. 7 shows a screenshot 700 of the display of the editable version of the display screen of FIG. 6 in the editing environment after a user has added to the sub-screen 604 a “PO time” object, an edit field object, and a “Help” button object. Instead of requiring the user to enter the change for each and every display screen of a simulation which includes the order sub-screen 604, the user need only enter the change once, the change being made by the system to a template for the order sub-screen 604, and subsequently being reflected in all display screens generated based on instantiation data structures referencing the order sub-screen template 604.

Similarly, FIG. 8 shows a screenshot 800 of a display of an editable version of a display screen similar to that of FIG. 7 in the editing environment, except that this display screen differs from that of FIG. 7 with respect to a display screen label 802 and a label 808 of an object of the order sub-screen 604. Although the display screen is different than the one of FIG. 7, the change entered by the user by interaction with the display screen of FIG. 7 has been propagated to the display screen of FIG. 8 because both display screens instantiate the same templates.

In an example embodiment, if the user enters changes to two sub-screens of the displayed editable version of a display screen, the system accordingly modifies the respective templates of the two sub-screens, to be subsequently reflected in each of the display screens that are generated using instantiation data structures referencing either of the modified sub-screens.

It is noted that although the templates and instantiation data structures have been described above as being used for generating simulations of a cloned target application, according to an alternative example embodiment, the template and instantiation paradigm, including the modification scripts, are used for the target application itself, so that as a user interacts with a user interface application, the navigable interface display screens are generated in real time by instantiating sub-screen templates and modifying the instantiated templates, if necessary, by executing modification scripts. Accordingly, display screens of a target application can be easily modified by modifying underlying sub-screen templates.

It is noted that different sub-screens need not be confined to separate display areas. For example, one sub-screen can be displayed within the display of another sub-screen. For example, a frame can be a sub-screen and a tool-bar which is to be displayed within the frame can be another sub-screen.

According to an example embodiment of the present invention, a system and method provide an authoring environment by which a user is able to author EPSS objects, for example, tip or warning objects, in accordance with which tips or warnings are to be output, e.g., via display or audio, to a user of a target application. According to an example embodiment of the present invention, a screen or sub-screen (and/or a particular object therein) is user selectable for association thereto of an EPSS object. For example, the user can specify that an EPSS object is to be output when a user navigates to a particular sub-screen. The author can further specify additional conditions. For example, the author can specify that the object's output is conditional upon specified characteristics of the user profile of the user interacting with the target application, upon interaction with a particular control or field, e.g., of the sub-screen, upon a specified value or value range of data of a particular data field, e.g., of the sub-screen, and/or a particular navigation sequence by which the user arrived at the display screen.

The EPSS association need not be entered by the author separately for each display screen in which the sub-screen is included. Additionally, the EPSS association need not be entered by the author separately for each of a plurality of display screens that slightly vary from each other. Rather, a single user-input association can be made for association by the processor with a plurality of display screens.

FIG. 5 shows an example data flow for an EPSS system according to an example embodiment of the present invention. In an example embodiment, the system and method provide a user interactive EPSS object authoring environment 500 in which EPSS objects 504 can be created, selected, and edited. In an example embodiment, the authoring environment provides a user interactive interface by which a user can set screen and/or sub-screen associations for a selected EPSS object and/or set conditions for output of the selected EPSS object.

The EPSS system stores a set of screen and/or sub-screen templates 404 selectable in the authoring environment for association thereto (and/or to objects therein) by the author.

The EPSS system includes an analysis engine 402, which, during running of the target application, parses a display screen 502 of the target application into the screen and/or sub-screen data as described with respect to FIG. 1 and determines whether the screen and/or sub-screens match any of the templates 404, e.g., as described with respect to step 108 of FIG. 1. If a match is found, then, if any EPSS object is associated with the matched template, the processor outputs the EPSS object(s) (as long as any other defined conditions are satisfied).

Accordingly, if a sub-screen is included in a number of different display screens of the target application, the EPSS object's association with the sub-screen can result in its output for all of those different display screens. Additionally, even if the sub-screen slightly differs in different ones of the display screens, a single association of the EPSS object with the sub-screen template can result in its display for all of those different ones of the display screens.

According to an example embodiment, an EPSS object is output in a training environment in which a simulation is played. For example, the system captures display screens of a target application, stores the display screens as screen templates and instantiation data structures, and allows for authoring of EPSS objects to be associated with the screen templates, so that upon execution of a simulation script or “storyboard,” the captured display screens are re-generated by instantiating screen templates according to the instantiation data structures and are further modified for output of the EPSS objects associated with the instantiated screen templates.

Regardless of for which of the above-described applications the template and instantiation data structure is applied, a further organizational layer can be added whereby templates or instantiation data structures are hierarchically arranged. For example, a first instantiation data structure can be stored which references a plurality of child instantiation data structures, one or more of which can themselves further reference other child instantiation data structures, until leaf node instantiation data structures are reached which reference sub-screen templates. Accordingly, according to an example embodiment of the present invention, the system and method generates the display screen corresponding to the first instantiation data structure by instantiating the sub-screen templates referenced by all of the leaf node instantiation data structures. According to an example embodiment of the present invention, the instantiation data structures of the hierarchy include further arrangement data indicating how the various referenced sub-screen templates are to be arranged in combination.

According to an alternative example embodiment, the templates are hierarchically arranged and different instantiation data structures corresponding to different display screens reference different display screen templates, which display screen templates further reference different combinations of sub-screen templates.

Referring again to step 106 of FIG. 1, the system and method, according to example embodiments of the present invention, automatically parses a display screen into sub-screens. For example, according to an example embodiment of the present invention, the system and method uses any suitably appropriate method for analyzing user interface objects of a display screen of a target application to determine the hierarchical organization of the objects. In this regard, some of the objects of a display screen are container objects which contain further user interface objects, while other objects of the display screen are leaf node objects that do not contain further user interface objects. For example, a frame can contain within it further objects, such as buttons, other controls, and/or edit fields, whereas a button, for example, typically does not contain within it further user interface objects. According to an example embodiment, the system and method executes an algorithm to determine whether an object of the display screen is a sub-screen based on programmed conditions referring to hierarchical position of the object and/or the object's status as a container.

For example, according to an example embodiment of the present invention, the system and method sets the object of a display screen which is at the top of the hierarchy as a sub-screen regardless of its status as a container. According to an alternative example embodiment of the present invention, the system and method sets an object of the display screen as a sub-screen conditional upon that it is a container. According to an alternative example embodiment, a combination of features of the prior two embodiments is used whereby the system and method sets an object of a display screen as a sub-screen conditional upon that the object is either at the top of the hierarchy of objects of the display screen or otherwise is a container. According to either of the prior two embodiments referring to a condition of an object being a container, a further example variant of the embodiments is that the container object is set as a sub-screen conditional upon that the container includes at least two objects of which at least one is itself a container. According to an alternative example variant, a first container object is set as a sub-screen conditional upon that either (a) none of the objects included in the first container object is itself a container object, or (b) where the first container object does include another container object, the first container object includes more than one object.

Accordingly, according to an example embodiment, the system and method set an object as a sub-screen conditional upon that (a) the object is at the top of the object hierarchy, (b) the object contains at least one further object of which none is itself a container object, or (c) the object contains at least two further objects.

According to an alternative example embodiment, the system and method is programmed with a list of object types which are to be set as sub-screens. For example, a tabsheet object, for example, an object corresponding to one of the tabs shown at the lower portions of the display screens in FIGS. 6-8, is an example of an object which the system and method can be programmed to set as a sub-screen. Additionally or alternatively, the system and method, according to an example embodiment, is programmed with object types to never be considered sub-screens, e.g., buttons. According to an example embodiment, the system and method include an analyzer module for analyzing objects of captured data of the target application and accordingly mapping the objects of the target application to the objects predefined to be set or not to be set as sub-screens.

Example embodiments include combinations of the above embodiments. For example, an example embodiment provides for setting an object as a sub-screen conditional upon that the object either (a) is at the top of the hierarchy or (b) otherwise either (i) satisfies one of the above-described generic container based conditions and is not one of the object types defined to never be set as a sub-screen or (ii) is one of the object types defined to be set as a sub-screen.

Referring again to step 108 of FIG. 1, the system and method, according to example embodiments of the present invention, determines whether a particular display screen or sub-screen is sufficiently similar to a display screen or sub-screen of a previously stored template for storing an instantiation data structure pointing to the previously stored template as a representation of the particular display screen or sub-screen, or if the particular display screen or sub-screen is too dissimilar to those of the previously stored templates, requiring the generation of a new display screen and/or sub-screen template based on the particular display screen or sub-screen.

For example, according to an example embodiment of the present invention, the system and method generate, based on the characteristics of a, for example, newly captured display screen or sub-screen, a signature representative of the contents of the display screen or sub-screen, and further similarly generates a signature for the display screens or sub-screens of the stored templates. The generation of the signatures for the templates can be performed at the time of the comparison or can be stored with the templates. The system and method then compares the signature generated for the newly captured display screen or sub-screen to the signatures associated with the templates. If a distance between the signature of the newly captured display screen or sub-screen to a signature of one of the templates is not greater than a predefined threshold distance, the system stores as a representation of the newly captured display screen or sub-screen an instantiation data structure that references the template whose signature distance meets the threshold requirement. For example, Charikar, “Similarity Estimation Techniques from Rounding Algorithms,” STOC'02 (Ma 19-21, 2002), which is incorporated by reference herein in its entirety, describes measuring a Hamming distance between hash vectors. According to an example embodiment, if the signature of the captured display screen is within the threshold distance of the signatures of more than one of the templates, the instantiation data structure for the captured display screen is set to point to the template whose signature is at the closest distance to the signature of the captured display screen.

According to an example embodiment, the system and method generate the signatures selectively based on certain components and/or characteristics of the display screens, ignoring other components. For example, according to an example embodiment of the present invention, the system and method strip out text from the display screen, e.g., as described in the '170 application, before generation of the signatures, so that data text is not a factor in the signature generation. According to an example embodiment, all text, whether data type text or user interface type text, is stripped out before signature generation.

In an example embodiment, the templates maintain the text, but the signatures are generated on a version of the template having the text stripped therefrom. According to an alternative example embodiment, the data is stripped from the templates altogether, all, for example, data text to be included being driven by the modification script executed on the instantiated template.

According to an example embodiment, the system and method generalizes certain user interface characteristics and performs the signature generation based on the generalized characteristics, rather than the raw form characteristics, which further increases the probability of display screens being determined to match. For example, placement of a button at a particular x,y position can be generalized to its placement in a particular x,y quadrant. Additionally or alternatively, according to an example embodiment, the system and method is programmed to strip out other predefined characteristics before application of display screen data as input for generation of the signature.

According to an alternative example embodiment, the comparison is performed on raw data without generation of a signature, by comparison of included objects and their characteristics, with pre-programmed difference allowances, e.g., acceptable distances between control or field positions, acceptable differences in control or field size, acceptable differences in number and type of included controls or fields, acceptable differences in other property definitions, such as whether an included button is enabled or disabled in the display screen, etc. According to this embodiment, as well, an example variant provides for the stripping out or generalization of certain elements prior to performance of the comparison.

According to an example embodiment, the system and method provides an administrative interface in which a user can set preferences regarding types of allowances. For example, the user can set whether the “enabled” property of an object included in two screens should be considered when determining whether screens are matches.

According to an example embodiment of the present invention, a modification script can include information for modifying a template to include data text of the captured screen. Alternatively, data text of the captured screen is not used for the modification script, for example, to allow for the template to dictate the inclusion of generic data text to be included, for anonymity purposes. In yet another alternative, data text is stripped from screen templates, all data text being dictated by modification scripts. Accordingly, if a change is to be manually made to data text from that which was initially captured, a user would enter such change to a modification script in an editing environment.

According to an example embodiment of the present invention, a modification script can include information for modifying a template to include user interface text/labels of the captured screen. Alternatively, user interface text of the captured screen is not used for the modification script, for example, to allow for the template to dictate the inclusion of interface in different languages. According to an example embodiment, a plurality of versions of a template including the same text in different languages are stored, whereby during runtime of a simulation one of the languages can be selected. According to an alternative example embodiment, the modification script is used for changing text if the text of the captured screen does not correspond to the text of the template even in different languages, but does not indicate a required change in text if the text of the captured screen includes text like that of the template but in a different language. Instead, during runtime a language can be selected and a translator program can be executed to output the text in the selected language.

If a user enters a change to a display screen using the editing environment, for example, as described with respect to FIGS. 6-8, the change is made to a screen template, and therefore propagated to all instantiation data structures referencing the modified template, as described above. However, it can occur that an entered change is not intended to be made for one or more of the instantiations. Accordingly, an example embodiment of the present invention provides an editing environment using which a user can manually add or modify modification scripts of instantiation data structures, for example, to cause the processor, when executing the script, to modify, for the particular instantiation, the revised template to undo the change entered by the user to the template.

According to an example embodiment of the present invention, the system and method provides a capture editing interface in which a captured display screen is reproduced as an editable version and in which object properties are displayed and editable as described with respect to FIGS. 6-8, including designations of an object as data text and/or user interface text. Accordingly, according to an example embodiment of the present invention, the system and method captures data corresponding to a display screen of a target application, e.g., for a simulation thereof, and performs the matching step to determine whether there exists in a data store a template to which the captured data corresponds, where the matching is performed based on an initial determination of the types of various interface objects of the captured data, e.g., as data text, user interface text, etc. However, in the editing mode, a user is able to re-designate an object. If the matching step is initially performed based on a first designation of object type which is then modified by the user, the system and method, according to an example embodiment, re-performs the matching step for the screen or sub-screen to determine whether it corresponds to another screen template.

Similarly, according to an example embodiment, if the analysis for parsing a captured screen into sub-screens is based on object properties which are modified by the user in the editing environment, the system and method responsively re-perform the analysis possibly re-dividing the display screen into different sub-screen divisions, which can also effect the matching analysis, so that, according to an example embodiment, the system and method also responsively re-perform the matching steps in accordance with the new division of sub-screens.

The above description is intended to be illustrative, and not restrictive. Those skilled in the art can appreciate from the foregoing description that the present invention may be implemented in a variety of forms, and that the various embodiments may be implemented alone or in combination. Therefore, while the embodiments of the present invention have been described in connection with particular examples thereof, the true scope of the embodiments and/or methods of the present invention should not be so limited since other modifications will become apparent to the skilled practitioner upon a study of the drawings, specification, and following claims. 

What is claimed is:
 1. A computer-implemented method for providing a user tip during a running of an application, the method comprising: determining, by a computer processor, whether a user interface display screen displayed or to be displayed during the running of the application is similar to a screen template with which a tip object is associated; and responsive to a positive result of the determination, outputting, by the processor, an element defined by the tip object during the running of the application; wherein the screen template to which the user interface display screen is determined to be similar to is also determined to be similar to other different user interface display screens.
 2. The method of claim 1, wherein the user interface display screen includes a sub-screen, wherein the determination of similarity is based on the sub-screen being similar to the screen template with which the tip object is associated.
 3. The method of claim 1, wherein the tip object is associated with a particular object within the screen template.
 4. The method of claim 1, further comprising outputting, by the computer processor, the element defined by the tip object for the other different user interface display screens that are determined to be similar to the screen template.
 5. The method of claim 1, wherein the determining includes generating, by the computer processor, a signature based on a content of a sub-screen of the display screen and comparing the generated signature to a signature of the screen template.
 6. The method of claim 1, wherein the tip object is displayed responsive to the positive result of the determination conditional upon that specified criteria with which the tip object is associated are satisfied during the running of the application at which the user interface display screen is displayed or is to be displayed.
 7. The method of claim 6, wherein the specified criteria includes at least one of a timing criterion, data being entered, data previously entered at a prior point during the running of the application, or a navigation sequence by which the display screen that is displayed or that is to be displayed is reached.
 8. A computer-implemented display screen modification method comprising: analyzing, by a computer processor, a display screen; determining, by the computer processor, one or more user interface objects of the display screen based on the analysis, each of the one or more user interface objects corresponding to an object type; determining, by the computer processor, one or more sub-screens of the display screen based on the one or more user interface objects; generating, by the computer processor, a new display screen template, the new display screen template comprising a first set of pointers in a first instantiation data structure corresponding to the display screen, the first set of pointers each referencing sub-screen templates corresponding to the one or more sub-screens; obtaining, by the computer processor, a user input of an instruction to modify a characteristic of the portion of the display screen; and responsive to the instruction, modifying, by the computer processor, a modification script associated with the new display screen template, the modification script stored in the first instantiation data structure.
 9. The method of claim 8, wherein the new display screen template is generated based on generalized versions of the one or more sub-screens, the generalized versions of the one or more sub-screens having data type text and user interface type text stripped therefrom.
 10. The method of claim 8, wherein the modification script manipulates one or more user interface objects of the new display screen template.
 11. The method of claim 8, wherein the determining the one or more sub-screens of the display screen is by setting an object of the one or more user interface objects as a sub-screen based on the object type of the object being a container whereby the object includes at least two additional objects.
 12. A computer-implemented display screen modification method, comprising: capturing, by a computer processor, a display screen; determining, by the computer processor, one or more sub-screens of the display screen by setting an object of the one or more user interface objects as a sub-screen; generating, by the computer processor, a signature for each of the one or more sub-screens, the signature for each of the one or more sub-screens being representative of a content of the associated sub-screen; determining, by the computer processor, that a first sub-screen of the one or more sub-screens is outside of a threshold distance from one or more stored screen templates by comparing the signature for the first sub-screen with signatures associated with the one or more stored screen templates; generating, by the computer processor, one or more sub-screen templates based on a generalized version of the first sub-screen responsive to the determination that the first sub-screen is outside of the threshold distance; identifying, by the processor, a stored screen template of the one or more stored screen templates that corresponds to the display screen by comparing the signatures of each of the one or more sub-screen templates to the signatures of the one or more stored screen templates, wherein the stored screen template is identified based upon a determination that the signature of the stored screen template is within a threshold distance of at least one of the signatures of the one or more sub-screen templates; and responsive to a first instruction, modifying, by the computer processor, a first stored screen template of the one or more stored screen templates.
 13. The method of claim 12, wherein the object is set as a sub-screen based on the object type of the object being a container whereby the object includes at least two additional objects.
 14. The method of claim 12, wherein the generalized version of the first sub-screen is based on data type text and user interface type text being stripped therefrom, wherein each of the one or more sub-screen templates is hierarchically related as a child of the display screen.
 15. The method of claim 12, further comprising: displaying a version of one of the plurality of different user interface display screens in an editing interface by: receiving a user selection of the displayed version of the one of the plurality of different user interface display screens; and receiving an input of property data for the selected displayed version of the one of the plurality of different user interface display screens.
 16. The method of claim 12, wherein the modification to the modification script corresponds to a change in a user interface object of the instantiation.
 17. The method of claim 12, wherein the modification to the modification script corresponds to a change in data text of an instantiation data structure that references the first stored screen template.
 18. The method of claim 12, wherein the modification script defines one or more steps to reobtain an instantiation of the stored screen template based on the first stored screen template.
 19. The method of claim 12, further comprising: obtaining, by the computer processor, user input of another instruction to modify a first one of the one or more sub-screens; and responsive to the another instruction, modifying, by the processor, a template for the first one of the one or more sub-screens.
 20. The method of claim 19, wherein a change to the template of the first one of the one or more sub-screens is propagated to at least one other display screen that references the first one of the one or more sub-screens. 